package cc.dowell.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cc.dowell.pojo.User;
import cc.dowell.utils.R;
import org.springframework.stereotype.Service;

@Service
public interface UserService extends IService<User> {

    Boolean register(User user);

    R login(User user);

    Boolean changePassword(User user);

    Boolean checkOldPassword(User user);
}
